package com.dongdong.utils;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class PayUtils {
    @Value("${alipay.serverUrl}")
    private String serverUrl;
    @Value("${alipay.appId}")
    private String appId;
    @Value("${alipay.privateKey}")
    private String privateKey;
    @Value("${alipay.alipayPublicKey}")
    private String alipayPublicKey;
    @Value("${alipay.signType}")
    private String signType;
    @Value("${alipay.format}")
    private String format;
    @Value("${alipay.charset}")
    private String charset ;
    @Value("${alipay.outTradeNo}")
    private String outTradeNo ;
    @Value("${alipay.totalAmount}")
    private String totalAmount ;
    @Value("${alipay.subject}")
    private String subject ;
    @Value("${alipay.productCode}")
    private String productCode ;
    @Value("${alipay.product}")
    private String product;

    @Value("${alipay.returnUrl}")
    private String returnUrl;
    @Value("${alipay.notifyUrl}")
    private String notifyUrl;
}
